package com.kaifamiao.demo.d0802;

import java.util.Objects;

public class Demo04 {

    public static void main(String[] args) {
        Student stu = null;

        boolean flag = Objects.isNull(stu);
        flag = Objects.nonNull(stu);
        System.out.println(flag);
    }
}
